<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<body style="width:550px;margin:50px auto;">

	&nbsp;&nbsp;AOP模拟测试:&nbsp;&nbsp;
	<a href="/testAop/user/add"><button><span style="font-size:1em">新增</span></button></a>
	&nbsp;&nbsp;
	<a href="/testAop/user/update"><button><span style="font-size:1em">修改</span></button></a>
	<br/><br/><br/>
	
	<table style="background:#EEEEE0;border:1;text-align:center;width:550px;padding:15px 30px;">
		<tr>
			<th style="width:60px;">序号</th>
			<th style="width:120px;">方法名</th>
			<th style="width:240px;">调用次数</th>
			<th style="width:240px;">响应时间(ms)</th>
			<th style="width:300px;">调用时间</th>
		</tr>
		<c:forEach items="${users }" var="item" varStatus="a">
		<tr>
			<td>${a.count }</td>
			<td>${item.functionName }</td>
			<td>${item.numbers }</td>
			<td>${item.responsetime }</td>
			<td>
				<fmt:formatDate value="${item.createtime }" pattern="yyyy-MM-dd HH:mm:ss" /> 
			</td>
		</tr>
		</c:forEach>
	</table>
</body>
</html>
